import React, { Component } from 'react';
class Input extends Component {
    changeTitle(event) {
        this.props.onChangeText(event)
    }
    render() {
      return (
        <div className="list-wrapper">
           <input type="text"  onChange={this.changeTitle.bind(this)} value={this.props.text}/>
        </div>
      );
    }
  }
  
  export default Input;
  